package cn.xyw;

import java.util.Iterator;
import java.util.Properties;

/**
 * @author Evan
 * @Title: other
 * @ProjectName solr
 * @Description: TODO
 * @date 2018/7/516:48
 */
public class other {
    public static void main(String[] args) {
         // 确定当前的系统属性
        Properties properties = System.getProperties();

        Iterator<Object> iterator = properties.keySet().iterator();

        while (iterator.hasNext()){
            String key = (String)iterator.next();
            String value = properties.getProperty(key);

            System.out.println(key+" : "+value);
        }
    }
}
